package com.site.wisdom_construction.entity.iotModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-04-01 
 */
@ApiModel (value ="塔吊实时数据接口", description = "TowerCrane")
public class TowerCrane {
	/**
	 * 塔吊实时数据表ID
	 */
   	@ApiModelProperty(value = "塔吊实时数据表ID", name = "id")
	private Integer id;

	/**
	 * 塔吊实时数据表ID
	 */
	@ApiModelProperty(value = "塔吊实时数据表ID", name = "id")
	private Integer projectId;

	/**
	 * 设备IMEI号
	 */
   	@ApiModelProperty(value = "设备IMEI号", name = "towerIMei")
	private String towerIMei;

	/**
	 * 时间
	 */
   	@ApiModelProperty(value = "时间", name = "writeTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
	private Date writeTime;

	/**
	 * 重量
	 */
   	@ApiModelProperty(value = "重量", name = "weight")
	private String weight;

	/**
	 * 力矩
	 */
   	@ApiModelProperty(value = "力矩", name = "torque")
	private String torque;

	/**
	 * 力矩比
	 */
   	@ApiModelProperty(value = "力矩比", name = "torqueRate")
	private String torqueRate;

	/**
	 * 回转
	 */
   	@ApiModelProperty(value = "回转", name = "rotation")
	private String rotation;

	/**
	 * 幅度
	 */
   	@ApiModelProperty(value = "幅度", name = "range")
	private String range;

	/**
	 * 高度
	 */
   	@ApiModelProperty(value = "高度", name = "height")
	private String height;

	/**
	 * 风速
	 */
   	@ApiModelProperty(value = "风速", name = "windSpeed")
	private String windSpeed;

	/**
	 * 倾角X
	 */
   	@ApiModelProperty(value = "倾角X", name = "pitch")
	private String pitch;

	/**
	 * 倾角Y
	 */
   	@ApiModelProperty(value = "倾角Y", name = "roll")
	private String roll;

	public TowerCrane(){ super(); }

	public TowerCrane(Integer id, Integer projectId, String towerIMei, Date writeTime, String weight, String torque, String torqueRate, String rotation, String range, String height, String windSpeed, String pitch, String roll) {
		this.id = id;
		this.projectId = projectId;
		this.towerIMei = towerIMei;
		this.writeTime = writeTime;
		this.weight = weight;
		this.torque = torque;
		this.torqueRate = torqueRate;
		this.rotation = rotation;
		this.range = range;
		this.height = height;
		this.windSpeed = windSpeed;
		this.pitch = pitch;
		this.roll = roll;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getTowerIMei() {
		return this.towerIMei;
	}

	public void setTowerIMei(String towerIMei) {
		this.towerIMei = towerIMei;
	}

	public Date getWriteTime() {
		return this.writeTime;
	}

	public void setWriteTime(Date writeTime) {
		this.writeTime = writeTime;
	}

	public String getWeight() {
		return this.weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getTorque() {
		return this.torque;
	}

	public void setTorque(String torque) {
		this.torque = torque;
	}

	public String getTorqueRate() {
		return this.torqueRate;
	}

	public void setTorqueRate(String torqueRate) {
		this.torqueRate = torqueRate;
	}

	public String getRotation() {
		return this.rotation;
	}

	public void setRotation(String rotation) {
		this.rotation = rotation;
	}

	public String getRange() {
		return this.range;
	}

	public void setRange(String range) {
		this.range = range;
	}

	public String getHeight() {
		return this.height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getWindSpeed() {
		return this.windSpeed;
	}

	public void setWindSpeed(String windSpeed) {
		this.windSpeed = windSpeed;
	}

	public String getPitch() {
		return this.pitch;
	}

	public void setPitch(String pitch) {
		this.pitch = pitch;
	}

	public String getRoll() {
		return this.roll;
	}

	public void setRoll(String roll) {
		this.roll = roll;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", towerIMei='" + towerIMei + '\'' +
				", writeTime=" + writeTime +
				", weight='" + weight + '\'' +
				", torque='" + torque + '\'' +
				", torqueRate='" + torqueRate + '\'' +
				", rotation='" + rotation + '\'' +
				", range='" + range + '\'' +
				", height='" + height + '\'' +
				", windSpeed='" + windSpeed + '\'' +
				", pitch='" + pitch + '\'' +
				", roll='" + roll + '\'' +
				'}';
	}
}
